home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / datacomm / 267 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.9 KB  |  101 lines

  1. Path: news.globalxs.nl!news
  2. From: otterleo@globalxs.nl (otterleo)
  3. Newsgroups: comp.sys.amiga.datacomm
  4. Subject: Re: Dialscript needed
  5. Date: 13 Jan 1996 11:09:38 GMT
  6. Organization: GlobalXS, the Netherlands
  7. Message-ID: <2635.6584T999T1742@globalxs.nl>
  8. References: <4cug85$c38@news.usaor.net>
  9. NNTP-Posting-Host: ppp141.globalxs.nl
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12. Bill Ley bley@usaor.net
  13. >I've been having trouble with my dialscript I use with AmiTCP.  It seems
  14. >as it just hangs right after I send my password.  I've changed the script
  15. >after that point and no I get an error.  Could someone tell me what I'm
  16. >doing wrong?  Here is the script I use:
  17.  
  18. >TIMEOUT 1500
  19. >REDIAL "BUSY"
  20. >delay 100
  21. >send "ATZ"
  22. >wait "OK"
  23. >delay 5
  24. >SEND "ATDT 3914905"
  25. >WAIT "CONNECT"
  26. >delay 2
  27. >SEND ""
  28. >WAIT "ogin"
  29. >SEND "bley"
  30. >WAIT "assword"
  31. >SEND "xxx"
  32. >SEND "MTU"
  33. >delay 50
  34.  
  35. >Should there be something that says WAIT "PPP"?  How do I get out
  36. >of the script after I connect?
  37.  
  38. Here is the script I use :
  39.  
  40. ECHO OFF
  41. SEND "ATZ"
  42. DELAY 50
  43. WAIT "OK"
  44. TIMEOUT 1500
  45. REDIAL "BUSY"
  46. SEND "ATDT<place telephone nr here"
  47. WAIT "CONNECT"
  48. WAIT "ogin:"
  49. DELAY 150
  50. SEND "<place your login name here>"
  51. WAIT "assword:"
  52. SEND "<place your password here>"
  53.  
  54. This works ok for me, I use a dynamic PPP-connection. There's no need to send
  55. MTU at my ISP, maybe you can leave it out.
  56. An easy way to check what is needed in your script is to call your ISP
  57. (Internet dialin number) with a program like Term or NComm. If you do you can
  58. simply see what is needed.
  59.  
  60. For example :
  61.  
  62. If you call in and you see :
  63. Login:<type your login name>
  64. Password:<type your password>
  65.  
  66. If you then see a lot of strange characters appear (and they are repeated over
  67. and over) then the above script (the one I send) works OK.
  68.  
  69. If not then give RETURN, maybe this works. It may be that the server needs
  70. some
  71. kind of wake-up signal. Include SEND "" in the script then.
  72.  
  73. If it works you can hangup and edit the script. Then dial again with startnet.
  74.  
  75. Info about my script :
  76.  
  77. ECHO OFF       -> makes all output invisible except text between " " and text
  78. send                 to you by the provider.
  79. SEND "ATZ"     -> Resets the modem, so it is 'clean'.
  80. DELAY 50       -> give modem time to reset.
  81. WAIT "OK"      -> wait for modem to respond.
  82. TIMEOUT 1500   -> Time after which everything must be stopped when it has
  83.                   failed.
  84. REDIAL "BUSY"  -> Make it possible to redial when line is busy.
  85. SEND "ATDT<phone number>  -> Dial phone number.
  86. WAIT "CONNECT" -> Wait for connection to be succesful.
  87. WAIT "ogin"    -> Wait for login prompt.
  88. DELAY 150      -> Gives you time to see what baudrate of the connection. (If
  89.                   modem is set up for this : X4 and \V1 for my modem)
  90. SEND "<login name>  -> Sends your login name to the ISP.
  91. WAIT "assword:"     -> Wait for password prompt.
  92. SEND "<password>    -> Send your password to ISP.
  93.  
  94. I hope this is any help to you. Info can also be found in ppp.guide.
  95.  
  96. Good luck,
  97.  
  98. ArlΘ
  99. Dutch student (studying electronics)
  100.  
  101.